package com.hksj.em.dto.create;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class CreateIntelligentDispatchingDTO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "楼层id")
    private String room_code;

    @ApiModelProperty(value = "楼层id")
    @NotBlank(message = "楼层id不能为空")
    private String floorId;

    @ApiModelProperty(value = "首台开始时间")
    @NotBlank(message = "首台开始不能为空")
    private String firstOneStartTime;

    @ApiModelProperty(value = "首台结束时间")
    @NotBlank(message = "首台结束时间不能为空")
    private String firstOneEndTime;

    @ApiModelProperty(value = "提前开机时间(分钟)")
    @NotNull(message = "提前开机时间不能为空")
    private int earlyStartupTime;

    @ApiModelProperty(value = "延迟关机时间(分钟)")
    @NotNull(message = "延迟关机时间不能为空")
    private int delayShutdownTime;

    @ApiModelProperty(value = "是否启动提前开机时间(分钟)")
    @NotNull(message = "是否启动提前开机时间不能为空")
    private int orStartEarlyStartupTime;

    @ApiModelProperty(value = "是否启动延迟关机(分钟)")
    @NotNull(message = "是否启动延迟关机不能为空")
    private int orStartDelayedShutdown;
}
